package com.nys.cqhttp.mapper;

import com.nys.cqhttp.model.YuanShen;
import com.nys.cqhttp.model.YuanShenExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface YuanShenMapper {
    long countByExample(YuanShenExample example);

    int deleteByExample(YuanShenExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(YuanShen record);

    int insertSelective(YuanShen record);

    List<YuanShen> selectByExample(YuanShenExample example);

    YuanShen selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") YuanShen record, @Param("example") YuanShenExample example);

    int updateByExample(@Param("record") YuanShen record, @Param("example") YuanShenExample example);

    int updateByPrimaryKeySelective(YuanShen record);

    int updateByPrimaryKey(YuanShen record);
}